package com.example.mall.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.mall.domain.LogisticsOrders;
import com.example.mall.dto.LogisticsOrdersDto;
import com.example.mall.query.LogisticsOrdersQuery;
import com.example.mall.query.PageDTO;

import java.util.List;


/**
 * <p>
 * 物流单表 服务类
 * </p>
 *
 * @author whale
 * @since 2025-05-16
 */
public interface ILogisticsOrdersService extends IService<LogisticsOrders> {

    //分页查询物流单表信息
    PageDTO<LogisticsOrdersDto> queryPage(LogisticsOrdersQuery logisticsOrdersQuery);

    //新增物流单表
    void insert(LogisticsOrdersDto logisticsOrdersDto);
    //修改物流单表信息
    void update(LogisticsOrdersDto logisticsOrdersDto);
    //删除物流单表信息
    void delete(Long logisticsId);
    //批量删除物流单表信息
    void deleteBatch(List<Long> logisticsIds);
    //根据id查询物流单表信息
    LogisticsOrders queryLogisticsOrdersById(Long logisticsId);

    //查询全部物流单表信息
    List<LogisticsOrders> queryLogisticsOrdersList();
}
